package com.killer.es.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.elasticsearch.annotations.Document;

import java.util.Date;


@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(indexName = "canal-rocketmq-es",type = "es-order")
public class EsOrder {

    private Long id;

    private Integer userId;

    private Date createTime;

    private Date updateTime;
}
